import axios from 'axios';
import { Post, Get } from './axiosFun';
import {getCookie, getStore} from "../utils/util";

// 登录接口
export const login = (params) => { return Post("/officeSystem/user/login", params) };
// 获取用户菜单
export const menu = () => { return Get("/officeSystem/menu/getUserAllMenuList?&token=" + getCookie('TOKEN')) };
// 退出接口
export const loginout = () => { return Post("/officeSystem/user/loginout?&token=" + getCookie('TOKEN')) };
